package com.gzyz.cheetah.exception;

import com.gzyz.cheetah.enums.Result.ResultMessage;
import com.gzyz.cheetah.enums.Result.ResultStatus;

/**
 * token异常
 * @author xclhove
 */
public class TokenException extends AbstractServiceException {
    public TokenException() {
        super(ResultStatus.TOKEN_EXCEPTION, ResultMessage.TOKEN_EXCEPTION.getValue());
    }
    public TokenException(String message) {
        super(ResultStatus.TOKEN_EXCEPTION, message);
    }
}
